package com.esun.payment_api.mapper;

import com.esun.payment_api.bean.WldwBean;
import com.esun.payment_api.domain.SysCustomer;
import com.esun.payment_api.domain.SysCustomerExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SysCustomerMapper {
    long countByExample(SysCustomerExample example);

    int deleteByExample(SysCustomerExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(SysCustomer record);

    int insertSelective(SysCustomer record);

    List<SysCustomer> selectByExample(SysCustomerExample example);

    SysCustomer selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") SysCustomer record, @Param("example") SysCustomerExample example);

    int updateByExample(@Param("record") SysCustomer record, @Param("example") SysCustomerExample example);

    int updateByPrimaryKeySelective(SysCustomer record);

    int updateByPrimaryKey(SysCustomer record);

    //根据id软删
    int deleteById(Integer id);
    //获取所有往来单位
    List<WldwBean> getWldwList(String searchStr, Integer coId);
}